package cn.stylefeng.guns.modular.business.controller;

import cn.stylefeng.roses.core.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author licheng
 * @date 2019/02/26
 */
@Controller
@RequestMapping("/order")
public class OrderController extends BaseController {

    private String PREFIX = "/modular/business/order/";

    @GetMapping("")
    public String index(Model model) {
        model.addAttribute("website", "www.html.com");
        return PREFIX + "order.html";
    }
}
